package com.lottery.game.core.modules.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface OperationalSetDao {

	Map<String, String> queryOperationalSetInfo()throws Exception;

  int addIPBlacklist(Map<String, String> map);//添加IP的黑名单

  Map<String, Object> queryIPBlacklist(@Param("ip") String ip);


  int  deleteIPBlacklist(@Param("ip") String ip);


 /**
  * 添加轮播图
  * @param map
  * @return
  */
  int addCarousel(Map<String, String> map);
 /**
  * 修改轮播图
  * @param map
  * @return
  */
  int updateCarousel(Map<String, String> map);

 /**
  * 删除轮播图
  * @param uuId
  * @return
  */
  int deleteCarousel(@Param("uuId") String uuId);


  Map<String, Object> queryCarouselById(@Param("uuId") String uuId);


   List<Map<String, Object>> queryVirtualNumberSet();


   List<Map<String, Object>> queryVirtualNumberSetByNum(@Param("roomNum") String roomNum);



  int addRobot(Map<String, String> map);

  int updateRobot(Map<String, String> map);

  int deleteRobot(@Param("uuId") String uuId);

  Map<String, Object> queryRobotById(@Param("uuId") String uuId);

 public List<String> queryRoomId();

 public String querySchemeId(@Param("schemeId") String schemeId);

 public List<Map<String, Object>> queryRobotInfo(@Param("roomNumber") String roomNumber);

  List<Map<String, Object>> queryRobotData(@Param("roomNumber") String roomNumber);

 public List<Map<String, Object>> queryGameAnnouncement();
 public List<Map<String, Object>> queryGameDiscount();

 public List<Map<String, Object>> queryDictRobot();
 public Map<String, Object> queryPlInfo(@Param("roomNumber") String roomNumber);

 List<Map<String,Object>> queryGameNotify(@Param("userId") String userId, @Param(
         "gameNotifyRecordId") String gameNotifyRecordId);
 List<Map<String,Object>> queryGameNotifyRecordList(@Param("gameNotifyId") String gameNotifyId);

 void updateGameNotify(@Param("gameNotifyRecordId") String gameNotifyRecordId);

 String queryDrawTip();
}
